home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Space & Astronomy
/
Space and Astronomy (October 1993).iso
/
mac
/
programs
/
astro
/
AC9117_1.ZIP
/
ASTROCLK.NEW
< prev
next >
Wrap
Text File
|
1991-04-22
|
10KB
|
154 lines
ASTROCLK REVISION HISTORY
Each released version of ASTROCLK uses a four digit revision
code such as 9117. The first two digits indicate the year
and the second two digits indicate the week of the year. In some
cases, an additional letter suffix is added to distinguish
changes occuring within the same week. A partial week at the
beginning or end of the year is counted as a full week. Using
this method, a year will typically have 53 weeks although it is
possible to have 54 weeks in a leap year (1972 is an example).
The current year-week revision code is shown on the Julian Date
display, Display Mode 7, in ASTROCLK.
This file records the recent revision history of program
ASTROCLK through all of the minor twists and turns that usually
accompany the evolution of such a program. (Early revision notes
have been deleted from this file but are available on request.)
It illustrates the tortuous process of maintaining and refining a
program as ideas and problems are reported from every quarter. It
may also be helpful to users who are upgrading from one version
to another to find out what has changed. This file may also
describe recent changes not included in the main documentation;
compare the version numbers below with the main documentation.
David H. Ransom, Jr.
9117 04/22/91
-----------------
-This release is a MAJOR UPGRADE from Version 9050.
NOTE: ASTROCLK now requires binary external star catalogs
which have a filetype of ".CC1". ASTROCLK's external
catalog star searches (Function Key F5) will NOT
operate correctly with prior versions of the external
star catalogs! See below.
-Added a sixth mode to the Precision Data Displays (Display Mode
8) to show the local times for sunrise, sunset, and Civil,
Nautical, and Astronomical twilight. Thanks to Matt Merrill for
writing and debugging the original code which I then then adapted
for use in ASTROCLK.
-Changed external star catalog from ASCII to binary format,
identified by the filetype ".CC1".. The new supplied catalog
names are ASTROCLK.CC1 and MESSIER.CC1. Catalog searches now
require approximately one half the search time and the binary
catalogs are less than half the size of the previous ASCII
versions. Binary catalogs are created by my program STARCAT which
will be available on my BBS. Other star catalogs may be available
in a binary format for use with ASTROCLK.
-Edited ASTROCLK.CC1 and MESSIER.CC1 to delete the all-zero
"place holder" which occupied the record for the non-existent
Messier object M40. This caused an incorrect match on star
searches near RA=0 and DEC=0. However, this means that the
catalog number (when searching MESSIER.CC1 by catalog number
rather than by object name) for Messier objects greater than 40
will be one less than the Messier number.
-Corrected an error in angular separations during star searches
if right ascension were set to zero.
-Added AUTO mode to DAYLIGHT FLAG, set using ALT-F10+F1. After
pressing ALT-F10, press F1 repeatedly until the desired DAYLIGHT
FLAG mode is displayed: "[OFF]", "[ON]", or "[AUTO ON]"/"AUTO
OFF]". Note that when the AUTO mode is selected, the state of the
DAYLIGHT FLAG ("ON" or "OFF") is selected based upon the current
DOS date and time. Do not select the AUTO mode if your location
does not use daylight time!
-When set to the AUTO mode, the DAYLIGHT FLAG will be set or
reset automatically and the local time zone clock display title
(Display Mode 1) will change from standard to daylight time or
vice versa. Daylight time is ENABLED as of 02:00 on the first
Sunday in April; daylight time is DISABLED as of 02:00 on the
last Sunday in October. These dates are valid ONLY for the United
States and Canada; all other users should set the DAYLIGHT FLAG
to ON or OFF manually to correspond to daylight or summer time
conventions in their location. NOTE: Systems with an 80286
processor or higher AND using DOS Version 3.3 or higher will also
change the hardware clock when using the AUTO mode. For these
systems, including ASTROCLK in the AUTOEXEC.BAT file and setting
the DAYLIGHT FLAG to the AUTO mode will automatically adjust the
computer hardware and software clocks for daylight time changes
at boot-up.
-Changing the DAYLIGHT FLAG using ALT-F10+F1 or allowing the
DAYLIGHT FLAG to be changed in the AUTO mode now automatically
adjusts the UTC OFFSET to reflect the time change. In prior
versions, the UTC OFFSET had to be manually changed using F10+F10
every time the DAYLIGHT FLAG was changed.
-Repaired minor bug with INTERVAL TIMER. If the DAYLIGHT FLAG was
changed while the timer was on, the timer was in error by one
hour. The timer start time is now automatically adjusted if the
DAYLIGHT FLAG is changed either manually or automatically.
-Modified Perpetual Calendar, Display Mode 6. When the calendar
is displayed, pressing the digit 6 will toggle between the
calendar display and a list of the holidays in that month.
Several additional holidays plus the beginning and end of
Daylight Savings time added. Corrected taxes due date so that it
does not occur on Saturday or Sunday but on the following Monday.
-Adjusted DD/MM/YYYY date input error checking using F3 to
properly check the day for each month (beginning with day 1) but
to allow January 0 and December 32 to correspond with common
usage and the Astronomical Almanac. Prior versions allowed the
0th of any month and disallowed December 32.
-Corrected date input using F3 to agree with documentation such
that using the form "+nnn" adds nnn days to the current Julian
Date. Prior versions assumed absolute Julian Date if nnn was
greater than 50 even if the "+" was included. Absolute Julian
Date is now assumed only if nnn is greater than 400 AND the "+"
sign is omitted.
-Corrected bug in external star catalog searches. If one of the
nearby stars were selected instead of the nearest star, the
program aborted with a "Bad file name or number" error. This was
still another (but never reported) file handle error introduced
at Version 9016!
-Corrected cosmetic problem with city file searches using F6.
When the SPACE BAR was pressed to search for the next match, the
prior city name was not cleared before next name was displayed.
If the next city name was shorter than the previous city name,
excess characters were "left over" on the display.
-Corrected minor bug in city file searches: if no city was
accepted, elevation for the current location was reset to zero.
-Updated ASTROCLK.MPC to use the first 250 minor planets from
file ELEM911.MPC (as of February 1991).
-File ASTROCLK.CTY corrected. "West Covina" was mispelled as
"West Corina", and the coordinates for Sunnyvale, CA have been
updated (per Mike Gardner). Added Greenwich Obs, England for
easier checking of Greenwich-based data along with several other
cities whose coordinates were sent in by users.
-Moved some code to new ASTROSB4.BAS SUB and FUNCTION source file
to fix compiler memory overflow for main module. Added source
file ASTROCLK.INC, an include file with DIM, COMMON and CONST
statements used by all other source files.
9050 12/14/90
-----------------
-Added UTC Day-of-Year to Display Mode 7 for years > 1949. This
is the format used by NORAD with 2-line orbital elements, i.e.
90247.451472. The first two digits are the year, then the day of
the year, and the time is the fractional part of the day. This is
the time/date format required by satellite tracking programs such
as STSORBIT and TRAKSAT.
-Adjusted Delta-T and Delta-AT in accordance with revised data in
the 1991 Astronomical Almanac and to take into account the Leap
Second at the end of 1990. The change in Delta-T amounts to about
0.2 seconds for 1989, 1990 and subsequent years.
-Changed .CTY file format to include elevation in meters. Do NOT
use OLD .CTY files without editing each line to add ",0" (without
the quotation marks) at the end for elevation. Or substitute the
elevation in meters if known.
-Added feature to append new local coordinates entered with F6 to
the current CITYFILE.
-Extensive revisions to the documentation to bring it up to date
from Version 8947. This was such a chore that I will resume
updating the documentation at every revision. It is likely that
I've missed some corrections in this process; if in doubt,
consult these notes.